package com.ces.knacky.controller.tools;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ces.knacky.framework.controller.ListController;

@Controller
public class ListBrandController<Brand> extends ListController<Brand> {

	@RequestMapping("/listBrand.htm")
	public String execute(){
		listEntity = (List<Brand>) commonService.list("SELECT brand from Brand brand");
		return "listBrand";
	}
}
